.main{
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  .categery{
    border: 2px solid #Fba35b;
    width: 20%;
    margin-top: 28px;
    margin-right: 20px;
    >h3{
      background: #Fba35b;
      padding: 10px;
      color: #FFF;
    }
    ul{
      li{
        display: block;
        float: none;
        width: 100%;
        text-align: left;
        padding: 5px 15px;
        box-sizing: border-box;
        a{
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: #333;
          font-size: 18px;
          span,i{
            margin: 0;
          }
          i{
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url(../images/right.png);
            background-size: cover;
          }
        }
      }
    }
  }
  .item-list{
    flex: 1;
    .list-header{
      height: 28px;
      line-height: 28px;
      text-align: right;
      color: #333;
    }
    .list-main{
      // .title{
      //   background: #Fba35b;
      //   padding: 10px;
      //   >span{
      //     background: #FFF;
      //     color: #Fba35b;
      //     padding: 5px 10px;
      //     border-radius: 8px;

      //   }
      // }
      .title{
        background: #FFF;
        border: 1px solid #Fba35b;
        height: 47px;
        .active{
          background: #Fba35b;
          a{
            color: #FFF;
          }
        }
        li{
          line-height: 47px;
          width: 100px;
          height: 100%;
          a{
            color: #Fba35b;
          }
        }
      }
      .list{
        display: flex;
        flex-wrap: wrap;
        border: 1px solid #Fba35b;
        border-top: none;
        padding-bottom: 20px;
        .itemempty{
          width: 23%;
          height: 0;
        }
        .item{
          display: flex;
          flex-direction: column;
          width: 23%;
          margin-top: 20px;
          background: #FFF;
          border: 2px solid #eee;
          border-radius: 4px;
          padding: 10px 0;
          cursor: pointer;
          .img{
            width: 150px;
            height: 120px;
            position: relative;
            >img{
              max-width: 100%;
              max-height: 100%;
              width:auto;
              height:auto;
              position: absolute;
              left: 50%;
              top: 50%;
              transform: translate3d(-50%,-50%,0);
            }
          }
          .price{
            display: flex;
            padding: 0 10px;
            margin: 0;
            .old-price{
              color: #eee;
              font-size: 16px;
              align-self: flex-end;
              margin: 0;
            }
            .new-price{
              color: #bc3945;
              font-size: 24px;
              margin: 0;
              >i{
                font-size: 14px;
                font-style: normal;
              }
            }
          }
          .name{
            font-size: 14px;
            padding: 0 10px;
            overflow : hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }
        }
      }
    }
  }
}
#footer{
  width: 100%;
  margin-top: 100px;
  // height: 429px;
  .footer_top{
      height: 228px;
      border-bottom: 1px solid #e8e8e8;
      .footer_top_content{
        border-top: 2px solid #ce3c3d;
          width: 1200px;
          margin: 0 auto;
          display: flex;
          aside{
              width: 246px;
              box-sizing: border-box;
              margin: 15px;
              border-right: 1px solid #dedede;
              h3{
                  font-size: 14px;
                  color: #999;
              }
              em{
                  color: #bd0f19;
                  font-style: normal;
                  font-size: 20px;
                  line-height: 24px;
              }
              p{
                  font-size: 12px;
                  color: #999 ;
              }
              figure{
                  display: inline-block;
                  margin-top: 10px;
                  width: 77px;
                  background: #fff;
                  border: 1px solid #d9d9d9;
                  figcaption{
                      padding: 9px;
                  }
                  p{
                      padding: 6px;
                      padding-top: 0;
                      font-size: 12px;
                      color: #b3b3b3;
                      text-align: center;
                  }
              }
          }
          article{
              margin: 15px;
              flex: 1;
              .footer_top_content_article_top{
                  display: flex;
                  margin-bottom: 26px;
                  div{
                      flex: 1;

                  }
              }
              .footer_top_content_article_bottom{
                  display: flex;
                  ul{
                      flex: 1;
                      li{
                          font-size: 12px;
                          color: #999999;
                          line-height: 18px;
                          float: none;
                          text-align: left;
                          width: 100%;
                          &:first-child{
                              font-size: 14px;
                              color: #666666;
                              padding-bottom: 10px;
                              font-weight: bold;
                          }
                      }
                  }
              }
          }
      }
  }
  .footer_bottom{
      background: #f8f8f8;
      text-align: center;
      padding: 10px 0 20px;
      p{
          a{
              margin-top: 20px;
              margin-bottom: 20px;
              display: inline-block;
              padding: 0 10px;
              border-right: 1px solid #ccc;
              font-size: 12px;
              color: #787878;
          }
      }
      span{
          color: #787878;
          font-size: 12px;
          
      }
  }
}